{% extends "base.html" %}

{% block title %}新书推荐 - 图书管理系统{% endblock %}

{% block content %}
<div class="container mt-5">
    <div class="card shadow">
        <div class="card-header bg-success text-white">
            <h3><i class="fas fa-star me-2"></i>新书推荐</h3>
        </div>
        <div class="card-body">
            <h4 class="mb-4">本月热门图书</h4>
            <div class="row row-cols-1 row-cols-md-3 g-4 mb-4">
                <div class="col">
                    <div class="card h-100">
                        <img src="{{ url_for('static', filename='images/book1.jpg') }}" class="card-img-top" alt="图书封面">
                        <div class="card-body">
                            <h5 class="card-title">《人工智能基础》</h5>
                            <p class="card-text">作者：张明</p>
                        </div>
                    </div>
                </div>
                <!-- 更多图书卡片... -->
            </div>
            
            <h4 class="mb-4">获奖作品推荐</h4>
            <ul class="list-group list-group-flush mb-4">
                <li class="list-group-item d-flex justify-content-between align-items-center">
                    《百年孤独》 - 加西亚·马尔克斯
                    <span class="badge bg-primary rounded-pill">诺贝尔文学奖</span>
                </li>
                <!-- 更多获奖图书... -->
            </ul>
            
            <h4 class="mb-4">新到馆藏图书</h4>
            <div class="list-group mb-4">
                <a href="#" class="list-group-item list-group-item-action">
                    《Python编程从入门到实践》 - 新到
                </a>
                <!-- 更多新书... -->
            </div>
        </div>
        <div class="card-footer text-end">
            <a href="{{ url_for('annotate.index') }}" class="btn btn-success">
                <i class="fas fa-arrow-left me-1"></i>返回公告列表
            </a>
        </div>
    </div>
</div>
{% endblock %}
